import { Component } from '@angular/core';
import {PriceQuect} from "./price-quect/price-quect.component";

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  stock = "";

  priceQuote:PriceQuect = new PriceQuect("",0);

  priceQuoteHandler(event:PriceQuect) {
    this.priceQuote = event;
  }

  buyHandler(event: PriceQuect) {
    this.priceQuote = event;
  }
}
